% Test `@KNearestNeighbor`

%%

clear classes
clc

%%

generate_dataset_iris;

%%

knn = KNearestNeighbor();
knn.setNK(3);

%%

knn.build(ds.dmX.mat, ds.dmY.mat);

%%

result = knn.apply(ds.dmX.mat, ds.dmY.mat);

%%

